package io.yuncheng.modules.sys.entity.xml;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * 任务推送的对象
 */
@AllArgsConstructor
@NoArgsConstructor
@Getter
@XmlRootElement(name = "task")
public class XmlTaskEntity {
    @XmlElement(name = "org" ,type = XmlOrgEntity.class)
    public XmlOrgEntity org;
    @XmlElement(name = "user",type = XmlUserEntity.class)
    public XmlUserEntity user;
}
